package cn.jk.bean;

import org.springframework.beans.factory.annotation.Autowire;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.beans.factory.aspectj.AnnotationBeanConfigurerAspect;
import org.springframework.context.annotation.DependsOn;

@Configurable(preConstruction = true,autowire = Autowire.BY_TYPE,dependencyCheck = true)

public class BeanNew {

	@Autowired(required = true)
	private BeanInjection beanInjection;

	public BeanInjection getBeanInjection() {
		return beanInjection;
	}

	public void setBeanInjection(BeanInjection beanInjection) {
		this.beanInjection = beanInjection;
	}

	public void test(){
		System.out.println(beanInjection);
	}
}
